﻿using System;
using System.Collections.Generic;
using System.Text;
using FT.DAL.Orm;

namespace FT.TouchScreen.Terminal.Model
{
    /// <summary>
    /// 商家信息
    /// </summary>

    [SimpleTable("navigate_shopes")]
    [Alias("商户表")]
    [Serializable]
    public class ShopEntity
    {
        /// <summary>
        /// id
        /// </summary>
        [SimplePK]
        public string Id;

        /// <summary>
        /// 商户名称
        /// </summary>
        [SimpleColumn(Column = "name")]
        [Alias("商户名称")]
        public string Name;

        
        /// <summary>
        /// 商户联系电话
        /// </summary>
        [SimpleColumn(Column = "phone")]
        [Alias("联系电话")]
        public string Phone;
        /// <summary>
        /// 商户地址
        /// </summary>
        [SimpleColumn(Column = "address")]
        [Alias("商户地址")]
        public string Address;
        /// <summary>
        /// 导航点，门口的节点
        /// </summary>
        public DotNode[] NavigateDots;
        /// <summary>
        /// 商户介绍
        /// </summary>
        [SimpleColumn(Column = "introduction")]
        [Alias("商户介绍")]
        public string Introduction;
        /// <summary>
        /// 商户类别
        /// </summary>
        [SimpleColumn(Column = "type")]
        [Alias("商户地址")]
        public string Type;
        /// <summary>
        /// 商户排序
        /// </summary>
        [SimpleColumn(Column = "ordernum")]
        [Alias("商户排序")]
        public int OrderNum = 0;
    }

    
}
